
<div class="container">
    <div class='row'>
        <div class="span2"></div>
        <div class="span6">
            <h1 class="blog-title">Ramais</h1>
            <p class="lead blog-description"></p>
        </div>
        <div></div>
    </div>
   <div class="row"> 
            <div class="span3">
                <h4>Setores</h4>
                <ol class="list-unstyled">
                    <?php foreach ( $tpl[ "inicial" ][ "setor" ] as $setores ) { ?>
                         <li><a href="index.php?m=setor&id=<?= $setores[ "idsetor" ] ?>"><?= $setores[ "nomesetor" ] ?></a></li>
                     <?php } ?>
                </ol>
            </div>
            <div class="span6">
                <table class="table">
                    <thead>
                        <tr>
                            <th width="40">ID</th>
                            <th>Colaborador</th>
                            <th>Ramal</th>
                            <th>Setor</th>
                            <th>Função</th>


                        </tr>
                    </thead>

                    <tbody>
                        <?php foreach ( $tpl[ "inicial" ][ "colaborador" ] as $col ) { ?>

                             <tr>
                                 <td><?= $col[ "idcolaborador" ] ?></td>
                                 <td><?= $col[ "nomecolaborador" ] ?></td>
                                 <td><?= $col[ "ramalcolaborador" ] ?></td>
                                 <td><?= $col[ "nomesetor" ] ?></td>
                                 <td><?= $col[ "nomefuncao" ] ?></td>

                             </tr>

                         <?php } ?>
                    </tbody>

                </table>
              </div>
       </div> 
    <div class="span3">
        
         <p>Rodapé da pagina</p>
    </div>